import head from './head'
import nav from './nav'
import sidebar from './sidebar'

import { defineConfig } from 'vitepress'

export default defineConfig({
  base: '/react-antd-admin-doc/',
  title: 'React Antd Admin',
  lang: 'zh-CN',
  description: '后台管理前端模板',
  head: head,
  themeConfig: {
    siteTitle: 'React Antd Admin',
    outlineTitle: 'React Antd Admin',
    logo: '/logo.png',
    nav: nav,
    sidebar: sidebar,
    footer: {
      message: 'Released under the MIT License.',
      copyright: 'Copyright © 2022-present Xiao Feng',
    },
    algolia: {
      placeholder: '搜索'
    }
  },
})
